﻿using Microsoft.EntityFrameworkCore;
using SaaS.Model.Entity.Sites;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Web.Admin
{
    public class AdminDbContext : DbContext
    {
        public AdminDbContext()
        {

        }
        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            base.OnConfiguring(optionsBuilder);
        }
        public DbSet<Site> Sites { get; set; }
        public DbSet<SiteAdmin> SiteAdmins { get; set; }
        public DbSet<SiteRole> SiteRoles { get; set; }

        public DbSet<SiteAdminLog> SiteAdminLogs { get; set; }
    }
}
